// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'package:flutter/material.dart';

class YJBarItemType {
  static final String TEXT = "TEXT";
  static final String ICON = "ICON";
  static final String TEXT_OR_ICON = "TEXT_OR_ICON";
}

class BarItem {
  BarItem(
      {this.icon,
      this.unIcon,
      this.label,
      this.backgroundColor,
      this.type})
      : super();

  /// 图标
  final Widget? icon;

  /// 未选中图标
  final Widget? unIcon;

  /// 文字
  final String? label;

  /// 背景颜色
  final Color? backgroundColor;

  /// 类型
  final String? type;
}
